<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

        <%String rootPath = request.getContextPath();%>
        <!-- Ext JS - JavaScript Library 2.0 (http://extjs.com/license) -->
        <link rel="stylesheet" type="text/css" href="<%=rootPath%>/extjs/resources/css/ext-all.css"/>
        <script type="text/javascript" src="<%=rootPath%>/extjs/adapter/ext/ext-base.js"></script>
        <script type="text/javascript" src="<%=rootPath%>/extjs/ext-all-debug.js"></script>


        <script language="javascript" charset="utf-8">


            Ext.onReady(function(){
                var win = new Ext.Window({
                    titile:'第一个ext窗口',
                    width:200,
                    height:200
                });
                win.show();

            });


        </script>

        <title>这是一个Extjs的Demo</title>
    </head>
    <body>
        <div id="out"></div>
    </body>
</html>
